package com.eddie.facade;

/**
 * @author Eddie
 * @date 2022/08/02 09:19
 **/
public class Screen {

    //单例模式,饿汉式
    private Screen() {

    }

    private static final Screen instance = new Screen();

    public static Screen getInstance() {
        return instance;
    }

    public void up() {
        System.out.println("Screen Up");
    }

    public void down() {
        System.out.println("Screen down");
    }
}
